<p>lazy works! Inside the lazy loaded module the user can authenticate</p>

user is authenticated: {{ isAuthenticated }}

<br />
<button (click)="login()">Click here to login</button>
<br />

@if (isAuthenticated) {
  <div>
    <button (click)="logout()">Click here to logout</button>
  </div>
}
